-- GENERATED SPELL FOR [Blackrock Soldier] --


function spell0_7025(pUnit, Event) --@Improved Blocking,Self--
pUnit:FullCastSpellOnTarget(3248,pUnit)
pUnit:RegisterEvent('Sorts_7025', 6332, 1)
end

function spell1_7025(pUnit, Event) --@Revenge,n/a--
pUnit:FullCastSpellOnTarget(12170,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7025', 617, 1)
end

function Sorts_7025(pUnit, Event)
local choix_sorts_7025 = math.random(0, 1)
if choix_sorts_7025 == 0 then
pUnit:RegisterEvent('spell0_7025', 1, 1)
end
if choix_sorts_7025 == 1 then
pUnit:RegisterEvent('spell1_7025', 1, 1)
end
end

function mob7025_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7025', math.random(1500, 3000), 1)
end

function mob7025_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7025_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7025_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7025, 1, 'mob7025_Action')
RegisterUnitEvent(7025, 2, 'mob7025_Leave')
RegisterUnitEvent(7025, 3, 'mob7025_Kill')
RegisterUnitEvent(7025, 4, 'mob7025_Die')
